package com.marktotop.entity.business;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author MarkToTop
 * @since 2021-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("biz_vaccine_history")
@ApiModel(value="VaccineHistory对象", description="")
public class VaccineHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "注射疫苗记录")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "接种人id")
    private Long vaccinatorId;

    @ApiModelProperty(value = "疫苗id")
    private Long vaccineId;

    @ApiModelProperty(value = "所种疫苗")
    private String vaccineName;

    @ApiModelProperty(value = "疫苗提供方")
    private String vaccConsumer;


    @ApiModelProperty(value = "上一次接种点")
    private String lastVaccSite;


    @ApiModelProperty(value = "针数")
    private Integer totalCount;

    @ApiModelProperty(value = "已注射针数")
    private Integer injectionCount;

    @ApiModelProperty(value = "初次接种时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date firstInjectTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


}
